package com.zhiliao.chain.demo2;


/**
 * @author zouxf
 * @date 2023/6/13 10:57
 * @description
 */
public abstract class CheckModelTypeHandler implements RecHandler<String, BaseResultInfo<Boolean>> {
    @Override
    public BaseResultInfo<Boolean> handleRequest(String checkRecModelReq, RecHandlerChain chain) {
        BaseResultInfo<Boolean> resultInfo = this.handle(checkRecModelReq);
        // 是否继续向下
        // 返回结果对象
        return resultInfo;
    }

    protected abstract BaseResultInfo<Boolean> handle(String checkRecModelReq);
}
